Skip to main content

Get top points for entity type

GET 

/points/:entityType/top

Will return a list of entities of the given type with the most points

Request

Path Parameters

    entityType stringrequired

    Possible values: [user, group]

    The entity type of the user to get points for

Responses

A list of points

Schema

  • Array [

  • type
    description

    items

    object

    name stringrequired

    the entity name

    total integerrequired

    the total number of points for this entity

    title
  • ]

Loading...